<?php
/**
* phpCan - http://idc.anavallasuiza.com/
*
* phpCan is released under the GNU Affero GPL version 3
*
* More information at license.txt
*/

defined('ANS') or die();
?>

<!DOCTYPE html>

<html>
	<head>
		<?php include($Templates->load('head')); ?>
	</head>

	<body id="html">
		<?php if ($Vars->messageExists()) { ?>
			<div id="message" class="<?php echo $Vars->messageType(); ?>">
				<?php echo $Vars->message(); ?>
			</div>
		<?php } ?>

		<header>
			<?php include($Templates->load('header.php')); ?>
		</header>

		<nav>
			<?php include($Templates->load('aux-main-navigation.php')); ?>
		</nav>

		<section>
			<?php include($Templates->load('content')); ?>
		</section>

		<footer>
			<a class="image" id="ans" href="http://anavallasuiza.com" title="Admin module is released by A navalla suíza">Admin module is released by A navalla suíza</a>
		</footer>
	</body>
</html>